package com.zuo.mall.mapper;

import com.zuo.mall.dto.OmsOrderDeliveryParam;
import com.zuo.mall.dto.OmsOrderDetail;
import com.zuo.mall.entity.OmsOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author zuo
 * @since 2023-10-21
 */
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {

    OmsOrderDetail selectDetailById(Long id);

    int deliveryBatch(@Param("list") List<OmsOrderDeliveryParam> deliveryParams);
}
